!include "MUI2.nsh"
!include "LogicLib.nsh"
!insertmacro MUI_LANGUAGE "SimpChinese"

# declare name of installer file
Outfile "..\out\Installer.exe"

# open section
Section

# create a popup box, with an OK button and some text
MessageBox MB_OK "Hello_world.txt!"

/* open an output file called "Hello_world.txt",
on the desktop in write mode. This file does not need to exist
before script is compiled and run */
FileOpen $0 $DESKTOP\Hello_world.txt w


# write the string "hello world!" to the output file
FileWrite $0 "hi!"

# close the file
FileClose $0

Debug::Watcher

# end the section
SectionEnd
